package day06homework1;

public class Car2 {
    String bradn;
    String color;
    double price;
    int capaciyt;
    Car2(){

    }
    Car2(String bradn,String color,double price,int capaciyt){
        this.bradn = bradn;
        this.color = color;
        this.price = price;
        this.capaciyt = capaciyt;

    }

    void star(){
        System.out.println(bradn+"牌子的"+"，色的"+price+"，块钱的"+capaciyt+"，座位的"+"启动了");
    }
    void run(){
        System.out.println(bradn+"牌子的"+"，色的"+price+"，块钱的"+capaciyt+"，座位的"+"跑起来了");
    }
    void stop(){
        System.out.println(bradn+"牌子的"+"，色的"+price+"，块钱的"+capaciyt+"，座位的"+"停下来了");
    }






}
